package com.netease.pris.activity;

import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import android.widget.RatingBar;

class dq
  implements View.OnTouchListener
{
  dq(SubsInfoActivity paramSubsInfoActivity)
  {
  }

  public boolean onTouch(View paramView, MotionEvent paramMotionEvent)
  {
    int i = paramView.getLeft();
    int j = paramView.getRight();
    float f = 5.0F * (paramMotionEvent.getRawX() - i) / (j - i);
    if (SubsInfoActivity.h(this.a) != null)
      SubsInfoActivity.h(this.a).setRating(f);
    return true;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.dq
 * JD-Core Version:    0.6.0
 */